package com.ruoyi.depot.mapper;

import com.ruoyi.depot.domain.StocktakeDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Admin
* @description 针对表【tb_stocktake_details(盘点明细表)】的数据库操作Mapper
* @createDate 2025-01-09 10:51:44
* @Entity com.ruoyi.depot.domain.StocktakeDetails
*/
@Mapper
public interface StocktakeDetailsMapper extends BaseMapper<StocktakeDetails> {

	/**
	 * 批量插入盘点单详细
	 * @param stocktakeDetails
	 * @return
	 */
	int batchInsertStocktakeDetails(@Param("list") List<StocktakeDetails> stocktakeDetails);

	/**
	 * 批量更新盘点单产品详细
	 * @param stocktakeDetails
	 */
	int updateBatch(@Param("list") List<StocktakeDetails> stocktakeDetails);
}




